package com.lanou.utp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author MaQingYun
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class Admin implements Serializable {

    private Long id; /*主键*/
    private String username;/*管理员账号*/
    private String password;/*管理员密*/
    private String collegeId;/*学院ID*/
    private String collegeName;/*学院名字*/

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;/*创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;/*更新时间*/
    private Integer status;/*状态*/
    private Integer role;/*角色*/


}
